package com.example.yunbiji0314.util;

public interface Code {
    Integer SAVE_OK = 20011; //保存成功
    Integer DELETE_OK = 20021; //删除成功
    Integer UPDATE_OK = 20031; //更新成功
    Integer GET_OK = 20041; //查询成功

    Integer SAVE_ERR = 20010; //保存失败
    Integer DELETE_ERR = 20020; //删除失败
    Integer UPDATE_ERR = 20030; //更新失败
    Integer GET_ERR = 20040; //查询失败

    Integer NULL_ERR = 40001; //参数为空
    Integer UPLOAD_OK= 20001; //上传成功
    Integer UPLOAD_ERR= 20002;  //上传失败

    Integer OCR_OK= 20003; //识别成功;
    Integer OCR_ERR= 20004; //识别失败;
    Integer ADD_OK= 20005; //添加成功;
    Integer ADD_ERR= 20006; //添加失败;

    Integer IMPORT_OK= 60001;
    Integer IMPORT_ERR= 60002;

    Integer Access_FAIL= 0000; //权限不足

    Integer LOGIN_FAIL= 0001;  //未登录或登录超时
}
